package com.aier.classes.entity;

import java.sql.Timestamp;

public class ClassPhotoType implements java.io.Serializable{

    /**
     * 班级相册分类表
     */
    private static final long serialVersionUID = 1L;

    private Long cptid;        //标识    
    private Long cid;          //班级id
    private String pname;      //相册名称
    private String img;        //封面
    private Timestamp cdate;   //相册创建时间
    
    //扩展
    private Integer num_img;//图片数量
    
    
    public ClassPhotoType() {
        super();
    }

    public ClassPhotoType(Long cptid, Long cid, String pname, String img,
            Timestamp cdate) {
        super();
        this.cptid = cptid;
        this.cid = cid;
        this.pname = pname;
        this.img = img;
        this.cdate = cdate;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getNum_img() {
        return num_img;
    }

    public void setNum_img(Integer num_img) {
        this.num_img = num_img;
    }

    public Long getCptid() {
        return cptid;
    }

    public void setCptid(Long cptid) {
        this.cptid = cptid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Timestamp getCdate() {
        return cdate;
    }

    public void setCdate(Timestamp cdate) {
        this.cdate = cdate;
    }
    
    
    
}
